<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li>
			<a href="{:url('/admin/index')}">首页</a>
		</li>
		<li>
			<a href="{:url('index')}">业务管理</a>
		</li>
		<li>
			<a href="{:url('audit')}">购车申请</a>
		</li>
		<li class="am-active">添加购车申请</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" enctype="multipart/form-data" action="{:url('adminapi/CarBuy/add')}" data-check="1" data-ajax="1" id="caradd">
		<div class="am-u-sm-10">
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车单位： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<select name="company_id" class="company"  data-am-selected="{btnWidth: '100%', btnSize: 'sm',searchBox: 1,maxHeight: 300}">
							<option></option>
						</select>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车申请人： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<select name="user_id" class="user_id"  data-am-selected="{btnWidth: '100%', btnSize: 'sm',searchBox: 1,maxHeight: 300}">
							<option>请先选择单位</option>
						</select>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">品牌： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p ">
							<div class="am-u-sm-4 cl-p brand">
								<select placeholder="选择品牌" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-group="1" name="car_brand_id">
									{$car_brand_ids}
								</select>
							</div>
							<div class="am-u-sm-4 cl-p model">
								<select placeholder="选择车系" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-group="2" name="car_model_id" data-modelid='{$item.car_model_id}'>
									{if $item.car_model_id} {$car_model_ids} {else/} {/if}
								</select>
							</div>
							<div class="am-u-sm-4 cl-p series">
								<select placeholder="选择型号" data-am-selected="{btnWidth:'100%',searchBox: 1,maxHeight: 200}" data-group="3" name="car_series_id" data-seriesid='{$item.car_series_id}'>
									{if $item.car_series_id} {$car_series_ids} {else/} {/if}
								</select>
							</div>

						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">承载人数： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							
							<input type="number" name="people" class="am-form-field tpl-form-no-bg " >
						</div>
					</div>
				</div>
			</div>
			
			<!--<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车单位： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="hidden" class="car_type_id" name="car_type_id" value="{$item.car_type_id}" />
							<input type="text" class="am-form-field tpl-form-no-bg  car_type" style="line-height: 21px;" data-check='require' data-msg="请选择车型" value="{$item.car_type}" placeholder="点击选择车型" readonly="">
						</div>
					</div>
				</div>
			</div>-->
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车预算： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="number" name="money" class="am-form-field tpl-form-no-bg " >
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车用途： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" name="buyto" class="am-form-field tpl-form-no-bg " >
						</div>
					</div>
				</div>
			</div>
			<!--<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车数量： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" class="am-form-field tpl-form-no-bg " >
						</div>
					</div>
				</div>
			</div>-->
			<div class="am-u-sm-12" style="margin-bottom:10px ;">
				<div class="am-u-sm-6 cl-p">
					<label class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">购车理由： </label>
					<div class="am-form-group am-u-sm-8 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="text" name="whybuy" class="am-form-field tpl-form-no-bg " >
						</div>
					</div>
				</div>
			</div>
			<div class="am-u-sm-12" style="margin-bottom:10px;">
			<div class="am-u-sm-6" style="text-align: center;">
				<button type="button" class="am-btn am-btn-primary am-btn-sm sub_audit">提交申请</button>
			</div>
			</div>
	</form>
	</div>